<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>购物车</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
        }

        .header {
            background-color: #fff;
            padding: 15px;
            text-align: center;
            position: relative;
            border-bottom: 1px solid #e5e5e5;
        }

        .header h1 {
            font-size: 18px;
        }

        .edit-btn {
            position: absolute;
            right: 15px;
            top: 15px;
            font-size: 14px;
            color: #f22d00;
            text-decoration: none;
        }

        .store {
            background-color: #fff;
            padding: 15px;
            border-bottom: 1px solid #e5e5e5;
        }

        .store input[type="checkbox"] {
            margin-right: 10px;
        }

        .product {
            background-color: #fff;
            padding: 15px;
            border-bottom: 1px solid #e5e5e5;
            display: flex;
            align-items: center;
        }

        .product input[type="checkbox"] {
            margin-right: 10px;
        }

        .product img {
            width: 80px;
            height: 80px;
            object-fit: cover;
            margin-right: 10px;
        }

        .product-info {
            flex: 1;
        }

        .product-name {
            font-size: 14px;
            margin-bottom: 5px;
        }

        .product-price {
            font-size: 14px;
            color: #f22d00;
        }

        .quantity {
            display: flex;
            align-items: center;
            margin-top: 10px;
        }

        .quantity button {
            width: 25px;
            height: 25px;
            background-color: #f4f4f4;
            border: 1px solid #e5e5e5;
            font-size: 16px;
        }

        .quantity input {
            width: 30px;
            height: 25px;
            text-align: center;
            border: 1px solid #e5e5e5;
            margin: 0 5px;
        }

        .delete-btn {
            color: #f22d00;
            text-decoration: none;
            margin-left: 10px;
        }

        .footer {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: #fff;
            padding: 15px;
            display: flex;
            align-items: center;
            border-top: 1px solid #e5e5e5;
        }

        .footer input[type="checkbox"] {
            margin-right: 10px;
        }

        .total {
            flex: 1;
            font-size: 14px;
        }

        .footer-btns {
            display: flex;
        }

        .footer-btns button {
            background-color: #f22d00;
            color: #fff;
            border: none;
            padding: 8px 15px;
            margin-left: 10px;
            font-size: 14px;
        }
    </style>
</head>

<body>
    <div class="header">
        <h1>购物车</h1>
        <a href="#" class="edit-btn">编辑</a>
    </div>
    <div class="store">
        <input type="checkbox"> 官方旗舰店
    </div>
    <div class="product">
        <input type="checkbox">
        <img src="https://dummyimage.com/80x80/000/fff" alt="商品图片">
        <div class="product-info">
            <div class="product-name">示例商品名称</div>
            <div class="product-price">¥99.00</div>
            <div class="quantity">
                <button>-</button>
                <input type="text" value="1">
                <button>+</button>
            </div>
        </div>
        <a href="#" class="delete-btn">删除</a>
    </div>
    <div class="footer">
        <input type="checkbox">
        <div class="total">合计：¥99.00</div>
        <div class="footer-btns">
            <button>删除</button>
            <button>结算</button>
        </div>
    </div>
</body>

</html>
    